/*
 * @Author: HeAo
 * @Date: 2021-12-28 08:48:02
 * @LastEditTime: 2021-12-28 08:54:17
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \study\day03\2-数组解构.js
 * 别乱动！
 */
// let arr = [1, 2, 3, 4]
let arr = [1, 2]
let [a, b, c] = arr
console.log(a, b, c);

let obj = {
  a: [{ b: 'hello', c: ['world'] }]
}
let { a: [{ b: x, c: [y] }] } = obj
console.log(x + y);